<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018\7\4 0004
 * Time: 14:04
 */

namespace App\Models;


use Illuminate\Database\Eloquent\Model;

class AjaxModel extends Model
{

    public function getShortUrl()
    {//获取短连接(在数据库里面查找)

    }
    public function getKouling()
    {//获取口令(在数据库里面查找)

    }
    public function getApiShortUrl()
    {//通过接口获取短连接

    }
    public function getApiKouling()
    {//通过接口获取口令

    }
    public function upShortUrl()
    {//更新数据库的短连接

    }
    public function upKouling()
    {//更新数据库的口令

    }






}